document.getElementById('tl').addEventListener('click', function() {
    document.getElementById('tf').classList.remove('cur');
    this.classList.add('cur');

    document.querySelector('.tourism-tourLine').style.display = 'flex';
    document.querySelector('.tourism-food').style.display = 'none';
});

document.getElementById('tf').addEventListener('click', function() {
    document.getElementById('tl').classList.remove('cur');
    this.classList.add('cur');

    document.querySelector('.tourism-tourLine').style.display = 'none';
    document.querySelector('.tourism-food').style.display = 'flex';
});